package com.example.util;

import java.util.regex.Pattern;

public class StringUtil {
    public static String replaceAll(String str, String regex, String replacement) {
        return Pattern.compile(regex).matcher(str).replaceAll(replacement);
    }
}
